|
|
|
|
<Image variable>.DominantImageColor (Function) In french: <Variable Image>.CouleurDominanteImage Returns the dominant (i.e. most frequent) color of an image found in a variable of type Image. MyImage is Image = "Test.gif" MyColor is Color = MyImage.DominantImageColor()
Syntax
<Result> = <Image variable>.DominantImageColor()
<Result>: Integer Dominant color of image. <Image variable>: Image variable Name of the Image variable to be used. Remarks - The transparent or semi-transparent pixels found in the image are ignored.
- <Image variable>.DominantImageColor cannot be used on vector images (SVG, PDF, etc).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|